// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.liuxinlong.modules.dao.MocRecordDao;
import com.liuxinlong.modules.entity.MocRecord;
import com.liuxinlong.modules.mapper.MocRecordMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;

/**
 * 类描述
 * <p>
 * 此类关联设计的功能
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2022年2月22日
 */
@Service
public class MocRecordDaoImpl extends ServiceImpl<MocRecordMapper, MocRecord> implements MocRecordDao {

	@Override
	public List<MocRecord> pageRecordList(Map<String, Object> queryParam) {
		return baseMapper.pageRecordList(queryParam);
	}

	@Override
	public int getRecordCount(Map<String, Object> queryParam) {
		return baseMapper.getRecordCount(queryParam);
	}

	@Override
	public MocRecord getOneRecordByName(String title) {

		return baseMapper.getOneRecordByName(title);
	}

}
